package java68_6;


public class TeacherTest {
    //年龄不能小于22岁,无法做到
    public static void main(String[] args) {
        Teacher t=new Teacher();
        //t.name="老刘";
//        t.age=21;
        t.setName("小刘");
        t.setAge(13);
        t.selfIntro();
        System.out.println("这个老师叫"+t.getName());

        //t.showCixiu();//有错
    }
}
